package com.mtsmda.chapter2.constructorsEx;

public class ConstructorInvokeEachOther {

	public ConstructorInvokeEachOther() {
		this("");
	}

	public ConstructorInvokeEachOther(String s) {
		// this(); Recursive constructor invocation ConstructorInvokeEachOther()
	}

	public void go() {
		System.out.println("go()");
		doStuff();
	}

	public void doStuff() {
		System.out.println("doStuff()");
//		go();//error! recursive invoke methods
	}

}